<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
  <%@ page import="
  java.util.Date,
	java.util.*,
	javax.servlet.*,
	javax.servlet.http.*,
	com.wobaby.dao.*,
	com.wobaby.vo.*
	"%>



<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
     
        <link rel="stylesheet" type="text/css" href="css/common/reset.css" media="all" />
          <link rel="stylesheet" type="text/css" href="css/common/weimob-ui-1-1.css" media="all" />
            <link rel="stylesheet" type="text/css" href="css/common/common.css" media="all" />
              <link rel="stylesheet" type="text/css" href="css/common/peak-0.css" media="all" />
              <link rel="stylesheet" type="text/css" href="css/xygk.css/share_and_recommond.css" />
        		



<title>好宝宝幼儿园医药安全通知</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
        
        <!-- Mobile Devices Support @begin -->
            <meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
            <meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
            <meta content="no-cache" http-equiv="pragma">
            <meta content="0" http-equiv="expires">
            <meta content="telephone=no, address=no" name="format-detection">
            <meta name="apple-mobile-web-app-capable" content="yes" /> <!-- apple devices fullscreen -->
            <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
        <!-- Mobile Devices Support @end -->
        <link rel="shortcut icon" href="http://stc.weimob.com/img/favicon.ico" />
        <style>
            img{max-width:100%!important;}
        </style>
    </head>
  
  <body>

<body onselectstart="return true;" ondragstart="return false;">
      <%
   
       String contentID=request.getParameter("contentID");
       String receiveID=request.getParameter("receiveID");
       int content_id=Integer.parseInt(contentID); 
       int receive_id=Integer.parseInt(receiveID); 
      
    MessagerContentManagement mcm =  new MessagerContentManagement();
    String senderName = mcm.findSendNameByContentID(receive_id,content_id);
    Collection<MessagerContentVO> list = new ArrayList(); 
    UserManagement um = new UserManagement();
     list = mcm.listMessagerByID(content_id);
    for(MessagerContentVO mcv :list)
    {
    %>   
		<link rel="stylesheet" type="text/css" href="css/font-awesome.css" media="all" />
<div class="weimob-page">
    			<div class="weimob-content">
			<h3>标题：<%=mcv.getTitle()%></h3>
			
			<div class="head_logo" onClick="location.href='index.html'">
				<div>
					
                    <span style="background-image:url(image/logo.jpg);"></span>
				</div>
				<div style="width:100%;">
					<label>好宝宝幼儿园</label>
					<div style="color:#ccc;">haobaobao</div>
				</div>
			</div>
	<div>内容：<%=mcv.getContent()%> </div>		

	<div align="right">
<table width="80" border="0" >
  <tr>
    <td>发送人:</td>
    <td><%=senderName%> </td>
  </tr>
  <tr>
    <td>发送时间:</td>
    <td><%=mcv.getCraeteDate()%> </td>
  </tr>
</table>
</div>
<% }%>

<section style="width:95%; margin:0px auto;">
	<div id="mcover" onClick="document.getElementById('mcover').style.display='';" style="display:none;">
		<img src="http://stc.weimob.com/img/guide.png?=2014-02-25-11">
	</div>
	<div class="text" id="content">
		<div id="mess_share">
			<div id="share_1">
				<button class="button2" onClick="document.getElementById('mcover').style.display='block';">
					
                    <img src="image/icon_msg.png">
                    &nbsp;发送给朋友
				</button>
			</div>
			<div id="share_2">
				<button class="button2" onClick="document.getElementById('mcover').style.display='block';">
                <img src="image/icon_timeline.png">
					&nbsp;分享到朋友圈
				</button>
			</div>
			<div class="clr"></div>
		</div>
	</div>
</section>

<div style="padding-bottom:5px!important;">
	<a href="javascript:window.scrollTo(0,0);" style="font-size:12px;margin:5px auto;display:block;color:#fff;text-align:center;line-height:35px;background:#333;margin-bottom:-10px;">返回顶部</a>
</div>
  




  </body>
</html>
